Skip to content

Fix chat_structured(echo = "text") for tool-based structured output#999

Draft
thisisnic wants to merge 2 commits into
tidyverse:mainfrom
thisisnic:977-nonstream
Draft

Fix chat_structured(echo = "text") for tool-based structured output#999
thisisnic wants to merge 2 commits into
tidyverse:mainfrom
thisisnic:977-nonstream

Conversation

@thisisnic

Copy link
Copy Markdown
Collaborator

Fixes #977

Didn't add a test as felt a little too granular compared to what we tend to test for currently. Happy to add one if that would be better though?

I tested locally and it works for Claude though don't have any Bedrock credentials to test on currently.

@hadley hadley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach seems reasonable to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chat_structured() with echo = "text" errors on providers that force non-streaming

2 participants